﻿<Window x:Class="WPFTrees.PropertyDialogs.ImagePropertyDlg"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ImagePropertyDlg" Height="300" Width="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="171*"></RowDefinition>
            <RowDefinition Height="39"></RowDefinition>
            <RowDefinition Height="51*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <TextBlock Margin="12,0,32,34">Picture:</TextBlock>
        <Image x:Name="image" Grid.ColumnSpan="2" Margin="12,20,12,9"></Image>
        <Grid Grid.Row="1" Grid.ColumnSpan="2">
            <Grid.RowDefinitions>
                <RowDefinition ></RowDefinition>                
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="74*"></ColumnDefinition>
                <ColumnDefinition Width="19*" />
                <ColumnDefinition Width="10*"></ColumnDefinition>
                <ColumnDefinition Width="83*" />
                <ColumnDefinition Width="93*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock Margin="20,6,3,6">Path:</TextBlock>
            <TextBox Grid.Column="1" Grid.ColumnSpan="3" Margin="0,6,10,9"></TextBox>
            <Button x:Name="btnChange" Grid.Column="4" Margin="6" Click="btnChange_Click">Change..</Button>
        </Grid>
        <Button Grid.Row="2" Margin="20,12" IsDefault="True" Click="miOK_Click">OK</Button>
        <Button Grid.Row="2" Grid.Column="1" Margin="20,12" IsCancel="True" Click="miCancel_Click">Cancel</Button>
    </Grid>
</Window>
